<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/StemServiceWebRole" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/StemServiceWebRole" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="ContentTypes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="JPEG" />
      <xs:enumeration value="MP4" />
      <xs:enumeration value="WAV" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ContentTypes" nillable="true" type="tns:ContentTypes" />
  <xs:complexType name="ArrayOfSlide">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Slide" nillable="true" type="tns:Slide" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSlide" nillable="true" type="tns:ArrayOfSlide" />
  <xs:complexType name="Slide">
    <xs:sequence>
      <xs:element minOccurs="0" name="Answer" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ImageSource" nillable="true" type="xs:anyURI" />
      <xs:element minOccurs="0" name="MediaDuration" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="MediaSource" nillable="true" type="xs:anyURI" />
      <xs:element minOccurs="0" name="MediaType" type="tns:MediaTypes" />
      <xs:element minOccurs="0" name="Question" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Slide" nillable="true" type="tns:Slide" />
  <xs:simpleType name="MediaTypes">
    <xs:restriction base="xs:string">
      <xs:enumeration value="TextOnly" />
      <xs:enumeration value="TextWithImage" />
      <xs:enumeration value="AudioOnly" />
      <xs:enumeration value="AudioWithImage" />
      <xs:enumeration value="Video" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="MediaTypes" nillable="true" type="tns:MediaTypes" />
  <xs:complexType name="SearchResults">
    <xs:sequence>
      <xs:element minOccurs="0" name="Presentations" nillable="true" type="tns:ArrayOfPresentation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SearchResults" nillable="true" type="tns:SearchResults" />
  <xs:complexType name="ArrayOfPresentation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Presentation" nillable="true" type="tns:Presentation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPresentation" nillable="true" type="tns:ArrayOfPresentation" />
  <xs:complexType name="Presentation">
    <xs:sequence>
      <xs:element minOccurs="0" name="Id" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="PublishedOn" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Slides" nillable="true" type="tns:ArrayOfSlide" />
      <xs:element minOccurs="0" name="TimesViewed" type="xs:unsignedInt" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Presentation" nillable="true" type="tns:Presentation" />
</xs:schema>